package com.quectel.sys.module.sys.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.quectel.sys.module.sys.entity.SysMenuEntity;

import java.util.List;
import java.util.Map;

/**
 * @author caolu
 * @email louis.cao@quectel.com
 * @date 2019-04-02 09:42:44
 */

public interface SysMenuDao extends BaseMapper<SysMenuEntity> {
    /**
     * 查询列表
     *
     * @param params
     * @return
     */
    List<SysMenuEntity> queryList(Map<String, Object> params);

    Integer queryMaxSortByPid(Long parentId);

    void clearByModuleId(Long moduleId);
}
